.class public Lcom/waiqin365/lightapp/chexiao/b/a/bf;
.super Lcom/waiqin365/lightapp/chexiao/b/d;


# instance fields
.field public b:Ljava/lang/String;

.field public c:Ljava/lang/String;

.field public d:I

.field public e:Ljava/util/List;


# direct methods
.method public constructor <init>()V
    .locals 1

    const/16 v0, 0x79

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/chexiao/b/d;-><init>(I)V

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/b/a/bf;->e:Ljava/util/List;

    return-void
.end method


# virtual methods
.method public a(Ljava/lang/String;)Z
    .locals 8

    const/4 v0, 0x1

    const/4 v1, 0x0

    :try_start_0
    new-instance v4, Lorg/json/JSONObject;

    invoke-direct {v4, p1}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    const-string/jumbo v2, "code"

    invoke-virtual {v4, v2}, Lorg/json/JSONObject;->isNull(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_0

    const-string/jumbo v2, "code"

    invoke-virtual {v4, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, p0, Lcom/waiqin365/lightapp/chexiao/b/a/bf;->b:Ljava/lang/String;

    const-string/jumbo v2, "1"

    iget-object v3, p0, Lcom/waiqin365/lightapp/chexiao/b/a/bf;->b:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_2

    const-string/jumbo v2, "totalPage"

    invoke-virtual {v4, v2}, Lorg/json/JSONObject;->isNull(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_3

    const-string/jumbo v2, "totalPage"

    invoke-virtual {v4, v2}, Lorg/json/JSONObject;->getInt(Ljava/lang/String;)I

    move-result v2

    :goto_0
    iput v2, p0, Lcom/waiqin365/lightapp/chexiao/b/a/bf;->d:I

    const-string/jumbo v2, "datas"

    invoke-virtual {v4, v2}, Lorg/json/JSONObject;->isNull(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_1

    const-string/jumbo v2, "datas"

    invoke-virtual {v4, v2}, Lorg/json/JSONObject;->getJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;

    move-result-object v5

    if-eqz v5, :cond_1

    invoke-virtual {v5}, Lorg/json/JSONArray;->length()I

    move-result v2

    if-lez v2, :cond_1

    move v3, v1

    :goto_1
    invoke-virtual {v5}, Lorg/json/JSONArray;->length()I

    move-result v2

    if-ge v3, v2, :cond_1

    invoke-virtual {v5, v3}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v6

    new-instance v7, Lcom/waiqin365/lightapp/chexiao/c/l;

    invoke-direct {v7}, Lcom/waiqin365/lightapp/chexiao/c/l;-><init>()V

    const-string/jumbo v2, "car_no"

    invoke-virtual {v6, v2}, Lorg/json/JSONObject;->isNull(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_4

    const-string/jumbo v2, "car_no"

    invoke-virtual {v6, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    :goto_2
    iput-object v2, v7, Lcom/waiqin365/lightapp/chexiao/c/l;->a:Ljava/lang/String;

    const-string/jumbo v2, "cm_name"

    invoke-virtual {v6, v2}, Lorg/json/JSONObject;->isNull(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_5

    const-string/jumbo v2, "cm_name"

    invoke-virtual {v6, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    :goto_3
    iput-object v2, v7, Lcom/waiqin365/lightapp/chexiao/c/l;->n:Ljava/lang/String;

    const-string/jumbo v2, "receive_no"

    invoke-virtual {v6, v2}, Lorg/json/JSONObject;->isNull(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_6

    const-string/jumbo v2, "receive_no"

    invoke-virtual {v6, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    :goto_4
    iput-object v2, v7, Lcom/waiqin365/lightapp/chexiao/c/l;->o:Ljava/lang/String;

    const-string/jumbo v2, "confirm_status"

    invoke-virtual {v6, v2}, Lorg/json/JSONObject;->isNull(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_7

    const-string/jumbo v2, "confirm_status"

    invoke-virtual {v6, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    :goto_5
    iput-object v2, v7, Lcom/waiqin365/lightapp/chexiao/c/l;->c:Ljava/lang/String;

    const-string/jumbo v2, "submit_date"

    invoke-virtual {v6, v2}, Lorg/json/JSONObject;->isNull(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_8

    const-string/jumbo v2, "submit_date"

    invoke-virtual {v6, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    :goto_6
    iput-object v2, v7, Lcom/waiqin365/lightapp/chexiao/c/l;->e:Ljava/lang/String;

    const-string/jumbo v2, "submit_name"

    invoke-virtual {v6, v2}, Lorg/json/JSONObject;->isNull(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_9

    const-string/jumbo v2, "submit_name"

    invoke-virtual {v6, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    :goto_7
    iput-object v2, v7, Lcom/waiqin365/lightapp/chexiao/c/l;->f:Ljava/lang/String;

    const-string/jumbo v2, "submit_time"

    invoke-virtual {v6, v2}, Lorg/json/JSONObject;->isNull(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_a

    const-string/jumbo v2, "submit_time"

    invoke-virtual {v6, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    :goto_8
    iput-object v2, v7, Lcom/waiqin365/lightapp/chexiao/c/l;->h:Ljava/lang/String;

    const-string/jumbo v2, "confirm_name"

    invoke-virtual {v6, v2}, Lorg/json/JSONObject;->isNull(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_b

    const-string/jumbo v2, "confirm_name"

    invoke-virtual {v6, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    :goto_9
    iput-object v2, v7, Lcom/waiqin365/lightapp/chexiao/c/l;->j:Ljava/lang/String;

    const-string/jumbo v2, "confirm_time"

    invoke-virtual {v6, v2}, Lorg/json/JSONObject;->isNull(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_c

    const-string/jumbo v2, "confirm_time"

    invoke-virtual {v6, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    :goto_a
    iput-object v2, v7, Lcom/waiqin365/lightapp/chexiao/c/l;->k:Ljava/lang/String;

    const-string/jumbo v2, "receive_amount"

    invoke-virtual {v6, v2}, Lorg/json/JSONObject;->isNull(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_d

    const-string/jumbo v2, "receive_amount"

    invoke-virtual {v6, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    :goto_b
    iput-object v2, v7, Lcom/waiqin365/lightapp/chexiao/c/l;->p:Ljava/lang/String;

    const-string/jumbo v2, "remark"

    invoke-virtual {v6, v2}, Lorg/json/JSONObject;->isNull(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_e

    const-string/jumbo v2, "remark"

    invoke-virtual {v6, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    :goto_c
    iput-object v2, v7, Lcom/waiqin365/lightapp/chexiao/c/l;->q:Ljava/lang/String;

    const-string/jumbo v2, "cur_date_time"

    invoke-virtual {v4, v2}, Lorg/json/JSONObject;->isNull(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_f

    const-string/jumbo v2, "cur_date_time"

    invoke-virtual {v4, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    :goto_d
    iput-object v2, v7, Lcom/waiqin365/lightapp/chexiao/c/l;->r:Ljava/lang/String;

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/b/a/bf;->e:Ljava/util/List;

    invoke-interface {v2, v7}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    add-int/lit8 v2, v3, 0x1

    move v3, v2

    goto/16 :goto_1

    :cond_0
    move v0, v1

    :cond_1
    :goto_e
    return v0

    :cond_2
    const-string/jumbo v2, "message"

    invoke-virtual {v4, v2}, Lorg/json/JSONObject;->isNull(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_1

    const-string/jumbo v2, "message"

    invoke-virtual {v4, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, p0, Lcom/waiqin365/lightapp/chexiao/b/a/bf;->c:Ljava/lang/String;
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_e

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Lorg/json/JSONException;->printStackTrace()V

    move v0, v1

    goto :goto_e

    :cond_3
    move v2, v1

    goto/16 :goto_0

    :cond_4
    :try_start_1
    const-string/jumbo v2, ""

    goto/16 :goto_2

    :cond_5
    const-string/jumbo v2, ""

    goto/16 :goto_3

    :cond_6
    const-string/jumbo v2, ""

    goto/16 :goto_4

    :cond_7
    const-string/jumbo v2, ""

    goto/16 :goto_5

    :cond_8
    const-string/jumbo v2, ""

    goto/16 :goto_6

    :cond_9
    const-string/jumbo v2, ""

    goto/16 :goto_7

    :cond_a
    const-string/jumbo v2, ""

    goto/16 :goto_8

    :cond_b
    const-string/jumbo v2, ""

    goto/16 :goto_9

    :cond_c
    const-string/jumbo v2, ""

    goto/16 :goto_a

    :cond_d
    const-string/jumbo v2, ""

    goto :goto_b

    :cond_e
    const-string/jumbo v2, ""

    goto :goto_c

    :cond_f
    const-string/jumbo v2, ""
    :try_end_1
    .catch Lorg/json/JSONException; {:try_start_1 .. :try_end_1} :catch_0

    goto :goto_d
.end method
